cma: Add vc_cma driver to enable use of CMA
authorpopcornmix <popcornmix@gmail.com>
Tue, 2 Jul 2013 23:31:47 +0000 (00:31 +0100)
committerpopcornmix <popcornmix@gmail.com>
Mon, 20 Feb 2017 12:17:53 +0000 (12:17 +0000)
commit5f4125c0abca060177d42e184ed5145b9ebf59c5
tree4d60ae044585a54d68f6574f3aa9c9bfe8c63113
parentb1c86a85cecd0386569a2265a8413896f09d54bd
cma: Add vc_cma driver to enable use of CMA

Signed-off-by: popcornmix <popcornmix@gmail.com>
vc_cma: Make the vc_cma area the default contiguous DMA area

vc_cma: Provide empty functions when module is not built

Providing empty functions saves the users from guarding the
function call with an #if clause.
Move __init markings from prototypes to functions.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
drivers/char/Kconfig
drivers/char/Makefile
drivers/char/broadcom/Kconfig [new file with mode: 0644]
drivers/char/broadcom/Makefile [new file with mode: 0644]
drivers/char/broadcom/vc_cma/Makefile [new file with mode: 0644]
drivers/char/broadcom/vc_cma/vc_cma.c [new file with mode: 0644]
include/linux/broadcom/vc_cma.h [new file with mode: 0644]